#CC=arm-linux-gnueabihf-gcc
CC=arm-buildroot-linux-gnueabihf-gcc

ROOT_PATH = /home/qihua/Download/media-codec/sunxi-cedarx/SOURCE

vpath %.h $(ROOT_PATH)/base/include/ 
vpath %.h $(ROOT_PATH)/vencoder/include/

INCLUDE = -I$(ROOT_PATH)/base/include/ -I$(ROOT_PATH)/vencoder/include/ 

LIBPATH = -L $(ROOT_PATH)/_build/lib/full-package-name/  

LIBS = -lcedar_vencoder -lcedar_common -lcedar_base -lpthread -ldl 
TARGET = VideoTest

all:
	$(CC) VideoTest.c $(INCLUDE) $(LIBPATH) $(LIBS) # -static 

clean:
	rm a.out

